window.App.Communicator.Http.load(
  [
    {
      url: "http://www.xxx.com/",
      debugUrl: "",
      protocols: [
        {
          name: "signIn",
          desc: "注册接口",
          method: "post/get/delete/put",
          endpoint: "sign-in",
          params: {
            username: {
              "=": ["abx", "您提供的信息必须等于 abx"],
              "<": [26, "长度小于26"],
              "<=": [26, "长度小于等于26"],
              ">": [6, "长度大于6"],
              ">=": [6, "长度大于等于26"],
              required: [true, "用户名不可为空"],
              in: [[1, 2, 3], "不属于 1，2，3 任意一种"],
              notIn: [[4, 5, 6], "不可属于 4，5，6 任意一种"],
              like: ["张", "您提供的信息不包含 张"],
              regulars: [/^1[0-9]{10}$/, "您提供的信息不正确"]
            },
            password: {
              "=": ["abx", "您提供的信息必须等于 abx"],
              "<": [26, "长度小于26"],
              "<=": [26, "长度小于等于26"],
              ">": [6, "长度大于6"],
              ">=": [6, "长度大于等于26"],
              required: [true, "用户名不可为空"],
              in: [[1, 2, 3], "不属于 1，2，3 任意一种"],
              notIn: [[4, 5, 6], "不可属于 4，5，6 任意一种"],
              like: ["张", "您提供的信息不包含 张"],
              regulars: [/^1[0-9]{10}$/, "您提供的信息不正确"]
            }
          }
        }
      ]
    }
  ]
);

